import instance from "@/utils/axios";

// 用户登录接口
export const getLogin = (data) => {
    return instance.post('/login', data)
}


// 用户信息接口
export const getUserInfo = () => {
    return instance.get('/getUserInfo')
}

// 无感登录接口
export const refreshToken = (params) => {
    return instance.get('/refresh', { params })
}